//
//  NDetaCell.m
//  ieGou
//
//  Created by 嚷蜗痕殇心 on 15/1/29.
//  Copyright (c) 2015年 chaox. All rights reserved.
//

#import "NDetaCell.h"

@implementation NDetaCell
- (void)dealloc
{
    [_dqImage release];
    [_dqLabel release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.dqImage = [[UIImageView alloc]init];
        [self.contentView addSubview:_dqImage];
        [_dqImage release];
        
        self.dqLabel = [[UILabel alloc]init];
        _dqLabel.font = [UIFont systemFontOfSize:17];
        [self.contentView addSubview:_dqLabel];
        [_dqLabel release];
                        

    }
    return self;
}
- (void)layoutSubviews
{
    self.dqImage.frame = CGRectMake(10, 10, 20, 20);
    self.dqLabel.frame = CGRectMake(50, 10, 300, 20);
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
